//
//  KeepCallsTopCell.m
//  CenturyCity
//
//  Created by beisheng03 on 2017/12/22.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import "KeepCallsTopCell.h"

@interface KeepCallsTopCell ()
@property (weak, nonatomic) IBOutlet UILabel *leftLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightLabel;

@end

@implementation KeepCallsTopCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.leftLabel.font = MYFONT(14);
    
    self.rightLabel.font = [UIFont boldSystemFontOfSize:17];
    
    self.leftLabel.textColor = darkGray;
    // Initialization code
}


- (void)setModel:(GoodsDetailModel *)model{
    _model = model;
    
    GoodsSpecListModel *temp = _model.spec_list[0];
    
    for (GoodsSpecSubModel *sub in temp.value) {
        
        if ([sub.isSelect isEqualToString:@"1"]) {
            
            self.rightLabel.text = sub.spec_value_name;
        }
        
       
    }
    
   
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
